<?php

namespace app\index\controller;

use think\Db;
use think\helper\Time;

class Index extends \think\Controller {

    public function _initialize() {
        parent::_initialize();
//        echo "init<br>";
    }

    public function index() {
        phpinfo();
    }

    public function read($id) {
        return 'read:' . $id;
    }

    public function edit($id) {
        return 'edit:' . $id;
    }

    public function create() {
        return 'create';
    }

    public function test() {
        return 'test';
    }

    public function hello() {
        return input("id");
    }

}
